Skip to content

docs(drive): add Drive command documentation and integration tests - #74

Merged
rianjs merged 1 commit into
mainfrom
docs/73-drive-documentation
Jan 25, 2026
Merged

docs(drive): add Drive command documentation and integration tests#74
rianjs merged 1 commit into
mainfrom
docs/73-drive-documentation

Conversation

@rianjs

@rianjs rianjs commented Jan 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update README with comprehensive Drive command documentation
  • Add drive.readonly scope to features and setup sections
  • Add mock-based integration tests for buildTree function
  • Remove Google Drive from future features (now implemented)

Changes

README.md:

  • Added drive.readonly to OAuth scopes list in features
  • Added Google Drive API to setup instructions
  • Added Drive Commands section with usage examples
  • Added detailed command reference for all drive subcommands (list, search, get, download, tree)
  • Removed "Google Drive" from Future Features section

internal/cmd/drive/tree_test.go:

  • Added mock DriveClientInterface implementation for testing
  • Added TestBuildTree with integration tests covering:
    • Root folder tree building
    • Specific folder tree building
    • Depth limit enforcement
    • File inclusion toggle
    • Sorting (folders before files)

Closes #73

🤖 Generated with Claude Code

- Update README with Drive commands, usage examples, and flags
- Add drive.readonly scope to features and setup sections
- Add mock-based integration tests for buildTree function
- Remove Google Drive from future features (now implemented)

Closes #73

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rianjs
rianjs merged commit 158257a into main Jan 25, 2026
2 checks passed
@rianjs
rianjs deleted the docs/73-drive-documentation branch January 25, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add Google Drive documentation and integration tests

1 participant